package ProjectoX;


public class Piedra extends Componente{

	
	
	public Piedra(Nivel N, Posicion P, int Fila, int Columna, char D) {
		super (N, P, Fila, Columna);
		
		switch (D) {
		case '1': setSpriteName(new String [] {"Piedra/snow1.png"}); 
			break;
		case '2': setSpriteName(new String [] {"Piedra/snow2.png"});
			break;
		case '3': setSpriteName(new String [] {"Piedra/snow3.png"}); 
			break;
		case '4': setSpriteName(new String [] {"Piedra/snow4.png"});
			break;		
		case '5': setSpriteName(new String [] {"Piedra/snow5.png"}); 
			break;
		case '6': setSpriteName(new String [] {"Piedra/snow6.png"});
			break;
		case '7': setSpriteName(new String [] {"Piedra/snow7.png"}); 
				break;
		case '8': setSpriteName(new String [] {"Piedra/snow8.png"});
				break;
		case '9': setSpriteName(new String [] {"Piedra/snow9.png"});
		break;
		}
		setFrameSpeed(10);
	}
	
}
